package action;

import web.action.Action;
import agent.DbAgent;
import model.Album;

@SuppressWarnings("serial")
public class AlbumViewAction extends Action {

	Album album;

	public Album getAlbum() {
		return album;
	}

	public void setCatalog(String catalog) {
		album = DbAgent.getSole().getAlbum(catalog);
	}

	public String execute() throws Exception {
		return SUCCESS;
	}
}
